
package com.idealighter.game.backpack.message;

import com.baidu.bjf.remoting.protobuf.annotation.Protobuf;

import com.idealighter.game.backpack.dto.ItemInfo;
import com.idealighter.game.core.annotation.ResMsg;
import com.idealighter.game.message.ModuleMsgIdConstant;
import com.idealighter.game.message.core.ResMessage;

import lombok.Data;

/**
 * 单个道具信息.
 */
@ResMsg(ModuleMsgIdConstant.Backpack.ITEM_INFO)
@Data
public class ResItemInfoMsg implements ResMessage {
  @Protobuf(order = 1)
  private int id = ModuleMsgIdConstant.Backpack.ITEM_INFO;
  // 物品信息
  @Protobuf(order = 2)
  private ItemInfo item;
}
